﻿namespace Homework14
{
    internal class Program
    {/// <summary>
     /// 在指定位置建立如下目录系统   1\2\3\4\5
     /// </summary>
     /// <param name="args"></param>
        static void Main(string[] args)
        {//创建目录路径
            string rootPath = @"D:\CSharp2024\root";
            //写出目录
            string fullDirectoryPath = Path.Combine(rootPath, "1", "2", "3", "4", "5");
            //构建目录结构
            Directory.CreateDirectory(fullDirectoryPath);
        }
    }
}
